package com.zhizhi.config;

import com.zhizhi.interceptor.PmstAuthenticationInterceptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @Description
 * @Date 2020/7/21 12:18
 * @Author Mr.Yu
 */
//@Configuration
public class PmsWebAppConfig implements WebMvcConfigurer {

//    @Autowired
//    PmstAuthenticationInterceptor pmstAuthenticationInterceptor;
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(pmstAuthenticationInterceptor).addPathPatterns("/**")
//        .excludePathPatterns("/druid");
//    }
}
